package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 科室对象 t_hospital_office
 * 
 * @author 孙山伟
 * @date 2020-12-20
 */
public class THospitalOffice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 部门状态（0正常 1停用） */
    @Excel(name = "部门状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private Long phone;

    /** 负责人 */
    @Excel(name = "负责人")
    private String leader;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 部门id */
    private Long id;

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setPhone(Long phone) 
    {
        this.phone = phone;
    }

    public Long getPhone() 
    {
        return phone;
    }
    public void setLeader(String leader) 
    {
        this.leader = leader;
    }

    public String getLeader() 
    {
        return leader;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setDeptName(String deptName) 
    {
        this.deptName = deptName;
    }

    public String getDeptName() 
    {
        return deptName;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("status", getStatus())
            .append("phone", getPhone())
            .append("leader", getLeader())
            .append("orderNum", getOrderNum())
            .append("deptName", getDeptName())
            .append("id", getId())
            .toString();
    }
}
